package cn.edu.ysu.zry.config;

import java.util.Base64;

/**
 * @program: XieyiBlockChainOS
 * @description: 重节点的配置项
 * @author: Ruiyuan Zhang
 * @create: 2020-04-21 14:44
 */
public class ConfigZhongJiedian  {
    // 公钥
    public static byte[] publicKey= Base64.getDecoder().decode("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJHs3Toe0+l9TveKfTdWOFmrsatxbihqbDDl2Ber/x08ovbZwdW8C5LT4e8TtoG+WvRzdm9t/ZjXe1pULXHUcE8CAwEAAQ==");
    // 私钥
    public static byte[] privateKey= Base64.getDecoder().decode("MIIBVQIBADANBgkqhkiG9w0BAQEFAASCAT8wggE7AgEAAkEAkezdOh7T6X1O94p9N1Y4Wauxq3FuKGpsMOXYF6v/HTyi9tnB1bwLktPh7xO2gb5a9HN2b239mNd7WlQtcdRwTwIDAQABAkBrXfg4N058UXK0t/UBrjKv56BGIKOIoSURpUulvytp+oK9xAp8+9bvs1BHlunGQ97sj3mqToynxoindlOQNijhAiEAysTfhFDzIGQiE/PeSSTEWG0LiFRPOUOGB9yftYo+ZkUCIQC4O8uFDq3X3C5E2FJ99qcelFNyYCLUGWpsIf34qpDfgwIgGrdj5/AuiJcI8m4QXLzObgQ4H8dUBOyDrWeBV48Wd60CIQCaByP4cnVVa3gjhtgxB+5g2pGJpmZ3/WfEUAcNx0yoEQIhAIdbjLyz9jrr+HIuRacKGu4Int6I5lnKCCMTbosM3WcI");
    // ip地址
    public static String ip;
    // 端口号
    public static int port;
    // 权限授予的时间，默认权限收回的时间为一个小时之后
    public static long time;

    public static class ZhongXin{
        // 中心节点的公钥信息
        public static  byte[] publicKey;
        // 中心节点的ip地址
        public static String ip="127.0.0.1";
        // 中心节点的端口号
        public static int port=0623;
    }



}
